﻿using System.Text;
using System.Web;
using WebDotNet.Extensions;
using WebDotNet.Samples.DefaultMvcApplication.ViewModels;

namespace WebDotNet.Samples.DefaultMvcApplication.Handlers.Home
{
	public class Index
	{
		public StringBuilder Get(HttpContextBase httpContextBase)
		{
			return httpContextBase.RenderPage("Home/Index", new ViewModelBase() { HttpContextBase = httpContextBase });
		}
	}

	public class About
	{
		public StringBuilder Get(HttpContextBase httpContextBase)
		{
			return httpContextBase.RenderPage("Home/About", new ViewModelBase() { HttpContextBase = httpContextBase });
		}
	}
}